package com.newbb.database;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public final class NewBBEntityManager {
	
	private static final EntityManagerFactory emfInstance =
	    Persistence.createEntityManagerFactory("transactions-optional");

    private NewBBEntityManager() {}
    
	public static EntityManagerFactory get() {
	    return emfInstance;
	}
}
